package com.xing.constant;
import org.springframework.stereotype.Service;

/**
 * 资源常量
 *
 * @author Mark sunlightcs@gmail.com
 */
@Service
public class ResourceConstantImpl implements ResourceConstant{
    /**
     * 不进行认证的URL
     */
    public static final String [] IGNORING_URLS = {
            "/actuator/**",
            "/v3/api-docs/**",
            "/webjars/**",
            "/swagger/**",
            "/swagger-resources/**",
            "/swagger-ui.html",
            "/swagger-ui/**",
            "/doc.html",
            "/web/**",
    };

    @Override
    public String[] getConstantList() {
        return IGNORING_URLS;
    }
}
